package com.zzuli.dcxt.service.impl;

import com.zzuli.dcxt.dao.CategoryMapper;
import com.zzuli.dcxt.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private CategoryMapper categoryMapper;

    public List getCategoryList(){
        List list = categoryMapper.selectAll();
        return list;
    }
}
